steam_file_persisted(filename);
参数 | 描述 |
---|---|
filename | 要检查的文件的名称。 |
返回: 布尔值
With this function you can check the given file to see if it has
been synchronised with the Steam Cloud. A return value of
true means that it is, while false means it is
not.
if !steam_file_persisted("Save.txt")
{
steam_file_share("Save.txt");
}
The above code will check to see if a file has been stored to the Steam Cloud, and if it has not it will then synchronise it.